package com.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration // 声明自己是一个配置类
@ComponentScan({"com.controller","com.service","com.entity"}) // 扫描 Bean 所在的包
@Import({JdbcConfig.class, MybatisConfig.class}) // 导入两个Bean 配置文件
public class SpringConfig {

}
